package com.mywang.weitravel.model;

import java.io.Serializable;

public class UserBean implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id : 22
     * nickname : null
     * sex : null
     * is_del : 1
     * username : wangmingyun
     * password : 70873e8580c9900986939611618d7b1e
     * score : 0
     * thumb : 1
     * create_time : 2019-12-07 19:21:44
     * : 05e3010023301a37d7e60f5c953a78b8
     * update_time : 2019-12-07 19:29:35
     * login_time : 1575717704
     * login_ip : 112.32.38.157
     * admin_cate_id : 1
     */

    private String id;
    private String nickname;
    private int sex;
    private int is_del;
    private String username;
    private String password;
    private String score;
    private String thumb;
    private String create_time;
    private String token;
    private String update_time;
    private String avatar;
    private long login_time;
    private String login_ip;
    public int is_sign;
    private int admin_cate_id;

    public int getIs_sign() {
        return is_sign;
    }

    public boolean isSign() {
        return is_sign == 1;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setIs_sign(int is_sign) {
        this.is_sign = is_sign;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getIs_del() {
        return is_del;
    }

    public void setIs_del(int is_del) {
        this.is_del = is_del;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public long getLogin_time() {
        return login_time;
    }

    public void setLogin_time(long login_time) {
        this.login_time = login_time;
    }

    public String getLogin_ip() {
        return login_ip;
    }

    public void setLogin_ip(String login_ip) {
        this.login_ip = login_ip;
    }

    public int getAdmin_cate_id() {
        return admin_cate_id;
    }

    public void setAdmin_cate_id(int admin_cate_id) {
        this.admin_cate_id = admin_cate_id;
    }
}
